'use strict';

function hybrid_operation(collection) {
  
    let arr= collection.map(function(num){
     return num*3+2;
   });
   let result = arr.reduce(function(previous,current){
     return previous+current;
   })
   console.log(result);
   return result;
    //在这里写入代码
  }
  hybrid_operation( [1,5,7,11,35,67]);
  module.exports = hybrid_operation;
  
  